/**
 * @param {Object} service ={docName,layerId}
 * @param {Array} fids =[1,2]
 *  */
function delFeature({
    fids,
    service,
    docLayer
}) {
    /* new Zondy.Service.EditDocFeature axios http */
    var deleteService = new Zondy.Service.EditDocFeature(service.docName, service.layerId, {

    });
    deleteService.deletes(fids, onDelSuccess(docLayer));
}
function onDelSuccess(docLayer) {
    return function (data) {
        if (data.succeed) {
            alert("删除要素成功！");
            /* 发送http */
            docLayer.refresh();
        } else {
            alert("删除要素失败！");
        }
    }
}